<template>
	<view class="body">
		<myHeader :title="title"></myHeader>
		<view class="mt-40" style="display: flex;justify-content: center;">
			<view class="" style="width: 300upx;height:300upx;">
				<image style="width: 300upx;height:300upx;"
					src="/static/party_building/assets/fileType/dj.png"></image>
			</view>
		</view>
		<view class="mt-40" style="display: flex;justify-content: center;font-weight: bold;font-size: 30px;color: #a10101;">求 是 党 建</view>
		<view class="mt-100" style="display: flex;justify-content: center;font-weight: bold;font-size: 20px;">
			<view>当前系统版本: 1.0.0</view>
		</view>
		<view style="margin-top: 200upx;">
			<button class="bg-red text-white" @click="update">检查更新</button>
		</view>
	</view>
</template>

<script>
import myHeader from '../components/head.vue'
	import NetWorkTool from '@/api/netWorkTool'
	export default {
		data() {
			return {
				title: '系统更新',
			}
		},
		mounted() {
		},
		methods: {
			update() {
				uni.showLoading({
					title: '检查更新中',
					icon: "loading"
				});
				setTimeout(function () {
				    uni.hideLoading();
					uni.showToast({
						title: '已经是最新了！',
						icon: 'none',
					});
				}, 2000);
				
			}
		},
		components: {
			myHeader
		},
	}
</script>

<style>
	@import url("/static/party_building/assets/style/federation.css");
</style>
